<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link th:href="@{/local/css/goodsList.css}" rel="stylesheet">
    <link th:href="@{/local/css/page.css}" rel="stylesheet">
</head>
<body>
<div id="top" th:replace="~{head.html}"></div>
<div id="middle">
    <div id="left" th:replace="~{left.html::left}"></div>
    <div id="right">
        <form th:action="@{/admin/adminUser/getAdminUserList}" method="get">
            <label>管理员名</label>
            <input type="text" name="Name">
        </form>
        <div id="msg" th:text="${msg}"></div>
        <table>
            <tr>
                <th>管理员ID</th>
                <th>登录名</th>
                <th>最后登录时间</th>
            </tr>
            <tr th:each="adminuser:${userListPage.list}">
                <td th:text="${adminuser.getId()}"></td>
                <td th:text="${adminuser.getName()}"></td>
                <td th:text="${#dates.format(adminuser.getLastLoginTime(),'yyyy-mm-dd hh:MM:ss')}"></td>
                <td>
                    <a th:href="@{/admin/adminuser/delAdminUser/} + ${adminuser.getId()}">删除</a>
                </td>
            </tr>
        </table>
        <div th:replace="~{page.html::myPage(${userListPage},'/admin/adminUser/getAdminUserList')}"></div>
    </div>
</div>
</div>
<div id="bottom" th:replace="~{bottom.html::bottom}"></div>

</body>

</html>